package cn.juque.systemservice.entity;

import cn.juque.systemservice.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>员工机构关系</li>
 * </ul>
 * @date 2022-12-01 15:27:14
 **/
@Data
@TableName(value = "SYS_EMPLOYEE_ORG_RELATION")
public class EmployeeOrgRelation extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 员工ID
     */
    @TableField(value = "EMPLOYEE_ID")
    private String employeeId;

    /**
     * 机构ID
     */
    @TableField(value = "ORG_ID")
    private String orgId;

}
